package com.bjsxt;

/**
 * 具体的主题 - 被观察者
 *
 * @author melo
 */
public class ConcreteSubject extends Subject {

	private int state;

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;

		// 通知所有观察者
		this.notifyAllObserver();
	}

}
